import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  css: {
    preprocessorOptions: {
      sass: {
        // 允许CSS中使用@apply等Tailwind指令
        additionalData: '@import "./src/index.css";',
      },
    },
  },
})
